package records

import (
	"github.com/golib/mysql"
)

const RecordNameAuditionCityMistake = "audition_city_mistake"

func init() {
	var r = &AuditionCityMistake{}
	mysql.RegisterRecord(r.Name(), r)
}

type AuditionCityMistake struct {
	CityMistakeId            int    `primary:"true" modify:"false" json:"cityMistakeId" form:"cityMistakeId" column:"city_mistake_id"`
	CityId                   int    `json:"cityId" form:"cityId" column:"city_id" modify:"true"`
	QuestionId               int    `form:"questionId" column:"question_id" modify:"true" json:"questionId"`
	QuestionType             int    `json:"questionType" form:"questionType" column:"question_type" modify:"true"`
	KnowledgeId              int    `json:"knowledgeId" form:"knowledgeId" column:"knowledge_id" modify:"true"`
	KnowledgeName            string `json:"knowledgeName" form:"knowledgeName" column:"knowledge_name" modify:"true"`
	Difficulty               int    `column:"difficulty" modify:"true" json:"difficulty" form:"difficulty"`
	LocalCorrectPercent      int    `json:"localCorrectPercent" form:"localCorrectPercent" column:"local_correct_percent" modify:"true"`
	NationwideCorrectPercent int    `column:"nationwide_correct_percent" modify:"true" json:"nationwideCorrectPercent" form:"nationwideCorrectPercent"`
	CreateTime               string `json:"createTime" form:"createTime" column:"create_time" modify:"false"`
	UpdateTime               string `modify:"false" json:"updateTime" form:"updateTime" column:"update_time"`
}

func (r *AuditionCityMistake) Name() string {
	return RecordNameAuditionCityMistake
}
